package com.shure.surdes.modules.dict.query;

import com.shure.surdes.common.query.Query;
import com.shure.surdes.common.query.annotation.Wrapper;
import com.shure.surdes.common.query.condition.ConditionType;
import com.shure.surdes.modules.dict.domain.DictType;
import lombok.Data;

@Data
public class DictTypeQuery extends Query {

    @Wrapper(keyword = ConditionType.like)
    private String typeName;

    @Wrapper(keyword = ConditionType.eq)
    private String typeCode;

    @Override
    public <T> Class<T> getClazz() {
        return (Class<T>) DictType.class;
    }
}
